﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;

public class CellBT : MonoBehaviour
{
    UnityAction<string> clickCB;
    string ip;
    public void Init(string ip, UnityAction<string> clickCB)
    {
        this.ip = ip;
        this.clickCB = clickCB;
    }

    public void OnClickCB()
    {
        clickCB?.Invoke(ip);
    }
}
